<!DOCTYPE html>
<html lang="en">
  <head>
    <title>InstagramScope Enumeration Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>

    <a name="//apple_ref/swift/Enum/InstagramScope" class="dashAnchor"></a>

    <a title="InstagramScope Enumeration Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../index.html">
          SwiftInstagram Docs
        </a>
         (100% documented)
      </p>
    
      <p class="header-col--secondary">
        <form role="search" action="../search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </p>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/AnderGoig/SwiftInstagram">
            <img class="header-icon" src="../img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../index.html">SwiftInstagram Reference</a>
      <img class="carat" src="../img/carat.png" />
      InstagramScope Enumeration Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../API.html">API</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/Instagram.html">Instagram</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Authentication.html">Authentication</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/InstagramScope.html">InstagramScope</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Models.html">Models</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramUser.html">InstagramUser</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramUser/Counts.html">– Counts</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramRelationship.html">InstagramRelationship</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia.html">InstagramMedia</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/Count.html">– Count</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/Resolution.html">– Resolution</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/Images.html">– Images</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/Videos.html">– Videos</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/UserInPhoto.html">– UserInPhoto</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramMedia/CarouselMedia.html">– CarouselMedia</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramComment.html">InstagramComment</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramTag.html">InstagramTag</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/InstagramLocation.html">InstagramLocation</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Errors.html">Errors</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/InstagramError.html">InstagramError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other Structs.html">Other Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other Structs.html#/s:14SwiftInstagram0B13EmptyResponseV">InstagramEmptyResponse</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>InstagramScope</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">enum</span> <span class="kt">InstagramScope</span> <span class="p">:</span> <span class="kt">String</span></code></pre>

                </div>
              </div>
            <p>Login permissions (<a href="https://www.instagram.com/developer/authorization/">scopes</a>) currently supported by Instagram.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO5basicyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/basic" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO5basicyA2CmF">basic</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To read a user’s profile info and media.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">basic</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO13publicContentyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/publicContent" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO13publicContentyA2CmF">publicContent</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To read any public profile info and media on a user’s behalf.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">publicContent</span> <span class="o">=</span> <span class="s">"public_content"</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO12followerListyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/followerList" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO12followerListyA2CmF">followerList</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To read the list of followers and followed-by users.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">followerList</span> <span class="o">=</span> <span class="s">"follower_list"</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO8commentsyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/comments" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO8commentsyA2CmF">comments</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To post and delete comments on a user’s behalf.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">comments</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO13relationshipsyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/relationships" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO13relationshipsyA2CmF">relationships</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To follow and unfollow accounts on a user’s behalf.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">relationships</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO5likesyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/likes" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO5likesyA2CmF">likes</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To like and unlike media on a user’s behalf.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">likes</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:14SwiftInstagram0B5ScopeO3allyA2CmF"></a>
                    <a name="//apple_ref/swift/Element/all" class="dashAnchor"></a>
                    <a class="token" href="#/s:14SwiftInstagram0B5ScopeO3allyA2CmF">all</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>To get all permissions.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">case</span> <span class="n">all</span> <span class="o">=</span> <span class="s">"basic+public_content+follower_list+comments+relationships+likes"</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2018 <a class="link" href="https://github.com/AnderGoig" target="_blank" rel="external">Ander Goig</a>. All rights reserved. (Last updated: 2018-10-14)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
